<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>De Stijl: /Users/Piro/Dropbox/destijl/c/headers/dmission.h Source File</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">De Stijl
   
   </div>
   <div id="projectbrief">Librairie pour le projet De Stijl</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('dmission_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">/Users/Piro/Dropbox/destijl/c/headers/dmission.h</div>  </div>
</div>
<div class="contents">
<a href="dmission_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00009"></a>00009 <span class="preprocessor">#ifndef MISSION_H</span>
<a name="l00010"></a>00010 <span class="preprocessor"></span><span class="preprocessor">#define MISSION_H</span>
<a name="l00011"></a>00011 <span class="preprocessor"></span>
<a name="l00012"></a>00012 <span class="preprocessor">#include &quot;<a class="code" href="dconstantes_8h.html" title="Déclaration des constantes du projet.">./dconstantes.h</a>&quot;</span>
<a name="l00013"></a>00013 <span class="preprocessor">#include &quot;<a class="code" href="dmessage_8h.html" title="Déclaration de la classe DMessage.">./dmessage.h</a>&quot;</span>
<a name="l00014"></a>00014 <span class="preprocessor">#include &quot;<a class="code" href="dposition_8h.html" title="Déclaration de la classe DPosition.">./dposition.h</a>&quot;</span>
<a name="l00015"></a>00015 
<a name="l00016"></a>00016 
<a name="l00017"></a>00017 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00019"></a>00019 <span class="preprocessor">#endif</span>
<a name="l00020"></a>00020 <span class="preprocessor"></span>
<a name="l00027"></a><a class="code" href="struct_d_mission.html">00027</a>     <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> {
<a name="l00028"></a><a class="code" href="struct_d_mission.html#aab92a69a0d048456b427dc8c0da3d40d">00028</a>         void(*<a class="code" href="struct_d_mission.html#aab92a69a0d048456b427dc8c0da3d40d">free</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> * This); 
<a name="l00029"></a><a class="code" href="struct_d_mission.html#ae7bb6ea14f008be25beb5e279a2a7acd">00029</a>         void(*<a class="code" href="struct_d_mission.html#ae7bb6ea14f008be25beb5e279a2a7acd">print</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> * This); 
<a name="l00030"></a><a class="code" href="struct_d_mission.html#abf38a075547971438b4c3e91a2c735e6">00030</a>         void(*<a class="code" href="struct_d_mission.html#abf38a075547971438b4c3e91a2c735e6">from_message</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> *This, <span class="keyword">struct </span><a class="code" href="struct_d_message.html" title="DMessage est un objet permettant de mettre en forme les messages à envoyer vers le superviseur...">DMessage</a> * msg); 
<a name="l00032"></a><a class="code" href="struct_d_mission.html#a534c5a3c0ea066d7fd34ee179632476c">00032</a>         void(*<a class="code" href="struct_d_mission.html#a534c5a3c0ea066d7fd34ee179632476c">get_position</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> * This, <a class="code" href="struct_d_position.html" title="DPosition est un objet contenant la description d&#39;une position du robot (coordonnées et orientation)...">DPosition</a> *position); 
<a name="l00033"></a><a class="code" href="struct_d_mission.html#a22de713faee5726b0fbd54c76aebfb5d">00033</a>         int(*<a class="code" href="struct_d_mission.html#a22de713faee5726b0fbd54c76aebfb5d">get_id</a>) (<span class="keyword">struct </span><a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> *This); 
<a name="l00035"></a><a class="code" href="struct_d_mission.html#a7441ef0865bcb3db9b8064dd7375c1ea">00035</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_mission.html#a7441ef0865bcb3db9b8064dd7375c1ea">id</a>; 
<a name="l00036"></a><a class="code" href="struct_d_mission.html#ac765329451135abec74c45e1897abf26">00036</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_mission.html#ac765329451135abec74c45e1897abf26">type</a>; 
<a name="l00037"></a><a class="code" href="struct_d_mission.html#a6150e0515f7202e2fb518f7206ed97dc">00037</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_mission.html#a6150e0515f7202e2fb518f7206ed97dc">x</a>; 
<a name="l00038"></a><a class="code" href="struct_d_mission.html#a0a2f84ed7838f07779ae24c5a9086d33">00038</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_mission.html#a0a2f84ed7838f07779ae24c5a9086d33">y</a>; 
<a name="l00039"></a><a class="code" href="struct_d_mission.html#a528d22a2a1651a4831eb643884a3c718">00039</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_mission.html#a528d22a2a1651a4831eb643884a3c718">orientation</a>; 
<a name="l00040"></a><a class="code" href="struct_d_mission.html#a86c9f04bfa1c110f70a46348b7f9e557">00040</a>         <span class="keywordtype">int</span> <a class="code" href="struct_d_mission.html#a86c9f04bfa1c110f70a46348b7f9e557">objective</a>; 
<a name="l00041"></a>00041     } <a class="code" href="dmission_8h.html#a14105c6c93aaca128bf28d02a714dc7f">DMission</a>;
<a name="l00042"></a>00042 
<a name="l00048"></a>00048     <a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a>* <a class="code" href="dmission_8h.html#a619b73cdf77d79d6af686437c9bafcaa" title="Instanciation de l&#39;objet DMission.">d_new_mission</a>(<span class="keywordtype">void</span>);
<a name="l00049"></a>00049 
<a name="l00055"></a>00055     <span class="keywordtype">void</span> <a class="code" href="dmission_8h.html#a1bf2e58108c6a64d9aa4681ab4b217dc" title="Fonction pour désallouer un instance de l&#39;objet DMission.">d_mission_free</a>(<a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> *This);
<a name="l00056"></a>00056 
<a name="l00062"></a>00062     <span class="keywordtype">void</span> <a class="code" href="dmission_8h.html#a472689420c8675d7968e156c2e51d614" title="Affichage d&#39;une instance d&#39;objet DMission.">d_mission_print</a>(<a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> *This);
<a name="l00063"></a>00063     
<a name="l00064"></a>00064     
<a name="l00072"></a>00072     <span class="keywordtype">void</span> <a class="code" href="dmission_8h.html#a5095b3cf345446f964921277abc3aaa6" title="Attribution des champs d&#39;un DMission à partir d&#39;un message. de type MESSAGE_TYPE_MISSION.">d_mission_from_message</a>(<a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> *This, <a class="code" href="struct_d_message.html" title="DMessage est un objet permettant de mettre en forme les messages à envoyer vers le superviseur...">DMessage</a> *msg);
<a name="l00073"></a>00073 
<a name="l00081"></a>00081     <span class="keywordtype">void</span> <a class="code" href="dmission_8h.html#ac43f0b018c6c36de1a64b0d4deb53433" title="Lecture de la position à atteindre pour une mission de type MISSION_TYPE_REACH_COORDINATE.">d_mission_get_position</a>(<a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> * This, <a class="code" href="struct_d_position.html" title="DPosition est un objet contenant la description d&#39;une position du robot (coordonnées et orientation)...">DPosition</a> *position);
<a name="l00082"></a>00082     
<a name="l00089"></a>00089     <span class="keywordtype">int</span> <a class="code" href="dmission_8h.html#a419c842951cb931dc9569f271fe892f4" title="Lecture de l&#39;identifiant de la mission.">d_mission_get_id</a>(<a class="code" href="struct_d_mission.html" title="DMission est un objet contenant la description d&#39;une mission à réaliser par un robot.">DMission</a> * This);
<a name="l00090"></a>00090     
<a name="l00091"></a>00091 
<a name="l00092"></a>00092 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00093"></a>00093 <span class="preprocessor"></span>}
<a name="l00094"></a>00094 <span class="preprocessor">#endif</span>
<a name="l00095"></a>00095 <span class="preprocessor"></span>
<a name="l00096"></a>00096 <span class="preprocessor">#endif</span>
</pre></div></div>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="dmission_8h.html">dmission.h</a>      </li>

    <li class="footer">Generated on Tue Apr 24 2012 14:13:31 for De Stijl by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.6 </li>
   </ul>
 </div>


</body>
</html>
